﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WatiN.Core;
using System.Text.RegularExpressions;

namespace WatiN.Sharepoint.Pages.CentralAdmin
{
    public class SiteCreatedPage : BaseCentralAdminPage
    {
        public SiteCreatedPage() : base()
        { }

        public override string RelativePageUrl
        {
            get
            {
                return @"_admin/SiteCreated.aspx";
            }
        }

        public Link CreatedSiteLink
        {
            get
            {
                return Document.Link(new Regex("LinkRootWeb$", RegexOptions.IgnoreCase));
            }
        }
    }
}
